﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.OrderExtentionGoodsChecklist
{
	/// <summary>
	/// 订单扩展货物清单信息
	/// </summary>
	public class OrderExtentionGoodsChecklistRequestDto
	{
		/// <summary>
		/// 订单Id
		/// </summary>		
		[Display(Name = "订单Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long OrderId { get; set; }
		/// <summary>
		/// 订单编号
		/// </summary>		
		[Display(Name = "订单编号")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(50, MinimumLength = 3, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string OrderNo { get; set; }
		/// <summary>
		/// 货物SKU
		/// </summary>		
		[Display(Name = "货物SKU")]
		[StringLength(100, MinimumLength = 3, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string GoodsSku { get; set; }
		/// <summary>
		/// 货物照片
		/// </summary>		
		[Display(Name = "货物照片")]
		public string GoodsPhoto { get; set; }
		/// <summary>
		/// 货物名称
		/// </summary>		
		[Display(Name = "货物名称")]
		[StringLength(100, MinimumLength = 1, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string GoodsName { get; set; }
		/// <summary>
		/// 货物重量
		/// </summary>		
		[Display(Name = "货物重量")]
		public decimal? GoodsWeight { get; set; }
		/// <summary>
		/// 货物体积
		/// </summary>		
		[Display(Name = "货物体积")]
		public decimal? GoodsVolume { get; set; }
		/// <summary>
		/// 货物长度
		/// </summary>		
		[Display(Name = "货物长度")]
		public decimal? GoodsLength { get; set; }
		/// <summary>
		/// 货物宽度
		/// </summary>		
		[Display(Name = "货物宽度")]
		public decimal? GoodsWidth { get; set; }
		/// <summary>
		/// 货物高度
		/// </summary>		
		[Display(Name = "货物高度")]
		public decimal? GoodsHeight { get; set; }
		/// <summary>
		/// 货物数量
		/// </summary>		
		[Display(Name = "货物数量")]
		public int? GoodsCount { get; set; }
		/// <summary>
		/// 货物单价
		/// </summary>		
		[Display(Name = "货物单价")]
		public decimal? GoodsPrice { get; set; }
		/// <summary>
		/// 货物单位
		/// </summary>		
		[Display(Name = "货物单位")]
		public string GoodsUnit { get; set; }
	}
}

